{"version":3,"sources":["grid.js"],"names":["BX","namespace","TileGrid","Grid","options","this","id","tileMargin","sizeRatio","tileSize","itemHeight","itemMinWidth","checkBoxing","items","renderTo","container","multiSelectMode","style","containerWidth","countItemsPerRow","layout","content","emptyBlock","loader","dragger","DragDrop","gridTile","backspaceButton","deleteButton","enterButton","currentItem","firstCurrentItem","itemType","getItemType","loadData","bindEvents","pressedShiftKey","pressedDeleteKey","pressedSelectAllKeys","pressedArrowTopMultipleKey","pressedArrowRightMultipleKey","pressedArrowBottomMultipleKey","pressedArrowLeftMultipleKey","pressedArrowTopKey","pressedArrowRightKey","pressedArrowBottomKey","pressedArrowLeftKey","pressedEscapeKey","pressedControlKey","onCustomEvent","prototype","getId","getTileMargin","getSizeRatio","bind","window","setStyle","event","defineEscapeKey","isKeyPressedEscape","resetSelection","defineShiftKey","defineDeleteKey","defineSelectAllKeys","defineArrowMultipleKey","defineArrowSingleKey","defineControlKey","isKeyPressedSelectAll","isFocusOnTile","selectAllItems","setBackspaceButton","setEnterButton","processButtonSelection","isKeyPressedDelete","isKeyPressedShift","isKeyControlKey","removeSelectedItems","handleBackspace","handleEnter","resetShiftKey","resetDeleteKey","resetSelectAllKeys","resetArrowKey","resetEscapeKey","resetControlKey","resetBackspaceButton","resetEnterButton","checkParent","target","resetSetMultiSelectMode","selector","parentSelector","findParent","className","attr","data-tile-grid","appendItem","item","addItem","itemNode","length","render","addClass","appendChild","afterRender","push","_deleteItem","success","removeNode","i","type","isFunction","splice","setMinHeightContainer","appendEmptyBlock","removeItem","moveItem","sourceItem","destinationItem","getSelectedItems","filter","selected","lastCurrentItemNumber","forEach","indexOf","selectItem","checkItem","PreventDefault","json","countItems","getItem","itemId","toString","getItemHeight","changeTileSize","calculateCountItemsPerRow","head","document","styles","beforeStyles","getStyleNode","cleanNode","createTextNode","classFn","getClass","Item","fullClassName","isNotEmptyString","currentNamespace","namespaces","split","create","attrs","calculateCountItemsPerRowXL","calculateCountItemsPerRowM","itemWidthSum","tileWidth","getContainerWidth","Math","round","offsetWidth","getContainer","getWrapper","margin","parent","height","offsetHeight","minHeight","unSetMinHeightContainer","setHeightContainer","unSetHeightContainer","setFadeContainer","unSetFadeContainer","removeClass","getLoader","Loader","showLoader","show","getBoundingClientRect","top","positionTop","pos","transform","innerHeight","redraw","draw","x","removeEmptyBlock","buildEmptyBlock","generatorEmptyBlock","call","props","children","removeChild","key","lastItem","nextToBeSelected","setCurrentItem","isKeyMultipleArrowRight","selectFromToItems","selectNextItemNumber","isKeyArrowRight","resetSelectAllItems","isVisibleItem","scrollToSmooth","isKeyMultipleArrowLeft","selectPreviousItemNumber","isKeyArrowLeft","isKeyMultipleArrowTop","isKeyArrowTop","isKeyMultipleArrowBottom","isKeyArrowBottom","indexOfItem","itemFrom","itemTo","setMultiSelectMode","itemFromNumber","itemToNumber","setCheckbox","checkbox","resetFromToItems","shiftKey","code","metaKey","ctrlKey","getCurrentItem","resetCurrentItem","UI","Viewer","Instance","isOpen","activeElement","tagName","toLowerCase","setFirstCurrentItem","getFirstCurrentItem","resetFirstCurrentItem","isLastSelectedItem","unSelectItem","checked","isMultiSelectMode","unCheckItem","relativeScrollY","scrollTop","documentElement","body","easing","duration","start","scrollY","finish","transition","makeEaseOut","transitions","quad","step","state","scrollTo","animate"],"mappings":"CAAC,WAED,aAEAA,GAAGC,UAAU,eAEbD,GAAGE,SAASC,KAAO,SAASC,GAE3BC,KAAKD,QAAUA,EACfC,KAAKC,GAAKF,EAAQE,GAElBD,KAAKE,WAAaH,EAAQG,WAC1BF,KAAKG,UAAYJ,EAAQI,UAEzBH,KAAKI,SAAWL,EAAQK,SACxBJ,KAAKK,WAAaN,EAAQM,WAC1BL,KAAKM,aAAeP,EAAQO,aAC5BN,KAAKO,YAAcR,EAAQQ,YAC3BP,KAAKQ,SACLR,KAAKS,SAAWV,EAAQW,UACxBV,KAAKW,gBAAkB,KACvBX,KAAKY,MAAQ,KACbZ,KAAKa,eAAiB,KACtBb,KAAKc,iBAAmB,KACxBd,K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